package com.innovatio.validator.annotations;

import com.innovatio.validator.annotations.Validation;
import com.innovatio.validator.handlers.ValidateCreditCardHandler;
import com.innovatio.utils.general.CommonsUtils;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Inherited;

/**
 * This code is property of Innovatio Software Solutions, Inc.
 * Project PaySmart
 * User: Ramon
 * Date: Mar 4, 2009
 * Time: 11:59:26 AM
 */
@Target(java.lang.annotation.ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Validation( value = ValidateCreditCardHandler.class)
public @interface ValidateCreditCard {
    String cardTypeFieldName();
    String i18nBundleKey() default "validation_creditcard";
}
